﻿using QLNH_BUS_WS.QLNH_DAL_WS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace QLNH_BUS_WS
{
    public class BillBUS
    {
        public BillDTO[] GetAllBill()
        {
            return new QLNH_DAL_WebServiceSoapClient().GetAllBill();
        }

        public BillDTO[] GetAllBill(DateTime start, DateTime end)
        {
            return new QLNH_DAL_WebServiceSoapClient().GetAllBillByDate(start, end);
        }

        public bool InsertBill(BillDetailDTO[] billDetail)
        {
            return new QLNH_DAL_WebServiceSoapClient().InsertBill(billDetail);
        }
    }
}